package com.freshmarket.freshmarket.service;

import com.freshmarket.freshmarket.controller.form.UserRegisterForm;
import com.freshmarket.freshmarket.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freshmarket.freshmarket.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Squirrel
 * @since 2020-09-04
 */
public interface IUserService {
    //用户注册
    public Result register(UserRegisterForm userRegisterForm) throws Exception;
    //记录当前用户的登录时间
    public Result recordTime(String userPhone,String userLastLogintime) throws Exception;
    //查询用户信息
    public Result selectUser(Integer userId) throws Exception;
}
